//
//  GroupService.h
//  Guazi
//
//  Created by koolearn on 11-5-27.
//  Copyright 2011年 __MyCompanyName__. All rights reserved.
//

#import <Foundation/Foundation.h>
#import <sqlite3.h>
#import "User.h"
#import "FriendGroup.h"


@interface GroupService : NSObject {
    
} 


+ (void) addUser:(User*)user toGroup:(sqlite3_int64)groupId;
+ (void) removeUser:(sqlite3_int64)userId fromGroup:(sqlite3_int64)groupId;

+ (BOOL) addGroup:(FriendGroup*)group;
+ (BOOL) editGroup:(FriendGroup*)group; 
+ (BOOL) deleteGroup:(sqlite3_int64)groupId; 

@end
